/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.scm.hibernate.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author RANGER
 */
@Table(name = "fleaves")
@Entity
public class Fleave extends AbstractEntity{
    @Id
    @GeneratedValue
    @Column(name = "id")
    protected Long id;
    
    @Column(name = "fid")
    private Long fid;
    
    @Column(name="apply_date")
    private String apply_date;
    
    @Column(name = "noofdays")
    protected Long noofdays;
    
    @Column(name="reasons")
    private String reasons;
    
    @Column(name = "status")
    private Boolean status;
    
    @Column(name="sdate")
    private String sdate;
    
    @Column(name="type")
    private String type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFid() {
        return fid;
    }

    public void setFid(Long fid) {
        this.fid = fid;
    }

    public String getApply_date() {
        return apply_date;
    }

    public void setApply_date(String apply_date) {
        this.apply_date = apply_date;
    }

    public Long getNoofdays() {
        return noofdays;
    }

    public void setNoofdays(Long noofdays) {
        this.noofdays = noofdays;
    }

    public String getReasons() {
        return reasons;
    }

    public void setReasons(String reasons) {
        this.reasons = reasons;
    }

    public Boolean isStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getSdate() {
        return sdate;
    }

    public void setSdate(String sdate) {
        this.sdate = sdate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    
}
